<template>
	<view class="tui-userinfo-box">
		<view padding="0" v-for="(item,index) in list" :key="index">
			<view class="tui-list-cell" @click="Myurl(item.url)">
				<view>{{item.name}}</view>
				<image src="/static/Mine/right.png"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [
					{
						name: '帐号/密码登录',
						url: '/pages/Mine/Login/Loginfour'
					},
					{
						name: '帐号/密码注册',
						url: '/pages/Mine/register/register2'
					},
					{
						name: '收货地址',
						url: '../../Mine/address/index',
					},
					{
						name: '收货地址',
						url: '../../Mine/address/address2',
					},
					// {
					// 	name: '个人中心',
					// 	url: '/pages/Mine/personal/personal',
					// },
					{
						name: '个人中心',
						url: '/pages/Mine/personal/personal2',
					},
					{
						name: '个人中心',
						url: '/pages/Mine/personal/personal3',
					},
					{
						name: '个人信息编辑表单',
						url: '/pages/Mine/personaledit/personaledit',
					},
					{
						name: '重置密码',
						url: '/pages/Mine/personal/resetpwd',
					},
					{
						name: '订单列表',
						url: '/pages/Mine/orderList/orderList'

					},
					{
						name: '订单列表',
						url: '/pages/Mine/orderList/orderList2'
					},
					{
						name: '订单详情',
						url: '/pages/Mine/orderInfo/orderInfo3'
					},
					{
						name: '订单详情',
						url: '/pages/Mine/orderInfo/orderInfo2'
					},
					{
						name: '售后申请',
						url: '/pages/Mine/afters/afterSales'
					},
					{
						name: 'APP微信登录',
						url: '/pages/Mine/Login/Login'
					},
					{
						name: '小程序登录',
						url: '/pages/Mine/Login/Logintwo'
					},
					
					{
						name: '微信小程序授权登录',
						url: '/pages/Mine/Login/Logintree'
					},
					{
						name: '商品详情',
						url: '/pages/shop/shopDetails'
					},
					{
						name: '商品列表',
						url: '/pages/shop/shopList'
					},
					{
						name: '结算',
						url: '/pages/orderPay/payment'
					},
					{
						name: '优惠券',
						url: '/pages/shop/coupon'
					},
					{
						name: '分销',
						url: '/pages/Mine/share/share'
					},{
						name: '意见反馈',
						url: '/pages/Mine/coupleback/coupleback'
					},{
						name:'搜索',
						url:'/pages/Mine/search/search'
					},{
						name:'关于我们',
						url:'/pages/Mine/AboutUs/AboutUs'
					},{
						name:'汽车首页',
						url:'/pages/Mine/Home/Home'
					},{
						name:'文章列表',
						url:'/pages/Dynamic/dynamicList'
					},
					{
						name:'文章详情',
						url:'/pages/Dynamic/dynamicDetails'
					},{
						name:'研花社首页',
						url:'/pages/Mine/Hometwo/Hometwo'
					},
					// {
					// 	name:'会员中心',
					// 	url:'/pages/Mine/vip/vip'
					// },
					{
						name:'研花社商品分类',
						url:'/pages/Mine/Hometwoclassify/Hometwoclassify'
					},{
						name:'研花社购物车',
						url:'/pages/TabBar/Shop/shop2'
					},{
						name:'研花社结算',
						url:'/pages/orderPay/payment2'
					},{		
						name:'售后记录',
						url:'/pages/Mine/record/record'
					},{
						name: '研花社优惠券',
						url: '/pages/shop/coupon2'
					},{
						name:"备注",
						url:"/pages/orderPay/remark"
					}
				]
			}
		},
		methods: {
			Myurl(url) {
				uni.navigateTo({
					url: url,
					fail(fail) {
						console.log(fail)
					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.tui-userinfo-box {
		padding: 5rpx;
		margin: 20rpx 0;
		color: #333;

		.tui-list-cell {
			border: 1rpx solid #e5e5e5;
			width: 100%;
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 24rpx 60rpx 24rpx 30rpx;
			box-sizing: border-box;
			font-size: 30rpx;

			image {
				width: 30rpx;
				height: 30rpx;
			}
		}
	}
</style>
